package cn.icare.cms;

import cn.icare.cms.dao.po.MoneyIn;
import cn.icare.cms.model.ro.AddMoneyInRO;
import cn.icare.cms.model.vo.rest.MsgDatasVO;

import java.util.List;

public interface MoneyInService {
    Long createOne(AddMoneyInRO ro);

    boolean deleteOne(Long id);

    boolean deleteBatch(List<Long> ids);

    MoneyIn getOne(Long id);

    /**
     * 收入明细列表查询
     * @param code 流水号
     * @param ordercode 订单编号
     * @param pageNum
     * @param pageSize
     * @return
     */
    MsgDatasVO getList(
            String code, String ordercode,String memberName
            ,Integer payType,String beginTime,String endTime,
            Integer pageNum, Integer pageSize,Integer sortType);

}
